package com.it.flowable.controller;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.it.flowable.entity.leave.ActFlwUserLeaveVO;
import com.it.flowable.mapper.leave.ActFlwUserLeaveVOMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class TestController {

    @Autowired
    private ActFlwUserLeaveVOMapper actFlwUserVOMapper;

    @GetMapping("/getList")
    public List<ActFlwUserLeaveVO> getList() {
        return actFlwUserVOMapper.selectList(new LambdaQueryWrapper<>());
    }

    @GetMapping("/test")
    public void test() {
        System.out.println();
    }
}
